package isp.apps.example.shoppingcart.persistence.factory;

import isp.apps.example.shoppingcart.persistence.CartItemsDirectory;
import isp.apps.example.shoppingcart.persistence.CartItemsRepository;
import isp.apps.example.shoppingcart.persistence.hibernate.HibernateCartItemsDirectory;
import isp.apps.example.shoppingcart.persistence.hibernate.HibernateCartItemsRepository;


public class CartItemsPersistenceFactory
{
  public static CartItemsRepository getCartItemsRepository()
  {
    return new HibernateCartItemsRepository();
  }

  public static CartItemsDirectory getCartItemsDirectory()
  {
    return new HibernateCartItemsDirectory();
  }
}
